﻿namespace System.Data.Entity.Utilities
{
    using System.ComponentModel;
    using System.Data.Entity.Core.Metadata.Edm;
    using System.Data.Entity.Infrastructure;

    internal static class DbModelExtensions
    {
        internal static FunctionDescriptor CreateFunctionDescriptor(this DbModel model, string name, EntityType entity)
        {
            return new FunctionDescriptor(name, entity, model);
        }
    }
}
